from distutils.core import setup, Extension

pypm = Extension('lisp.midi.pypm',
                 libraries=['portmidi', 'porttime'],
                 sources=['lisp/midi/pypm.c'])

setup(name='linuxshowplayer',
      version='0.2',
      description='Python Distribution Utilities',
      author='Francesco Ceruti',
      author_email='ceppofrancy@gmail.com',
      url='https://code.google.com/p/linux-show-player/',
      ext_modules=[pypm],
      packages=['lisp',
                  'lisp.core',
                  'lisp.gst',
                  'lisp.layout',
                  'lisp.layout.layout_grids',
                  'lisp.layout.layout_list',
                  'lisp.midi',
                  'lisp.plugin',
                  'lisp.plugin.gain',
                  'lisp.plugin.media_info',
                  'lisp.plugin.scenes',
                  'lisp.plugin.sync',
                  'lisp.plugin.programming',
                  'lisp.plugin.controller',
                  'lisp.ui',
                  'lisp.ui.preferences',
                  'lisp.ui.preferences.media',
                  'lisp.ui.preferences.application',
                  'lisp.utils',
                  'lisp._xml'],
      package_data={'lisp': ['default.cfg'],
                    'lisp.layout': ['no_image.png'],
                    'lisp.layout.layout_grids': ['screenshot.png'],
                    'lisp.layout.layout_list': ['screenshot.png'],
                    'lisp.ui': ['icons/lisp/16/*',
                                'icons/lisp/22/*',
                                'icons/lisp/24/*',
                                'icons/lisp/index.theme',
                                'theme_dark/vectors/*',
                                'theme_dark/assets/*',
                                'theme_dark/style.css']},
      scripts=['linux-show-player'])
